package com.shop2cn.iapi.sqsynctrade.paremeter;
import java.util.Map;

import com.ymatou.iapi.optrade.parameter.req.BaseRequest;
import com.ymatou.iapi.synctrade.parameter.mongo.Order;
/**
*同步指令Bean
*FreeMaker Template自动生成代码
*/
@SuppressWarnings("serial")
public class SyncByCommandReq extends BaseRequest {

	/**
	* 用户Id
	*/
	private Long userId;

	/**
	 * 订单号,订单请求ID
	 */
	private Map<String, Long> orderIds;

	/**
	 * 指令
	 */
	private String command;

	/**
	 * 订单号,订单
	 */
	private Map<String, Order> orders;

	public SyncByCommandReq() {
	}

	public SyncByCommandReq(Map<String, Long> orderIds, String command,
			Long userId) {
		this.orderIds = orderIds;
		this.command = command;
		this.userId = userId;
	}

	public SyncByCommandReq(Map<String, Long> orderIds, String command,
			Map<String, Order> orders, Long userId) {
		this.orderIds = orderIds;
		this.command = command;
		this.orders = orders;
		this.userId = userId;
	}

	public Map<String, Long> getOrderIds() {
		return orderIds;
	}

	public void setOrderIds(Map<String, Long> orderIds) {
		this.orderIds = orderIds;
	}

	public String getCommand() {
		return command;
	}

	public void setCommand(String command) {
		this.command = command;
	}

	public Map<String, Order> getOrders() {
		return orders;
	}

	public void setOrders(Map<String, Order> orders) {
		this.orders = orders;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}
}
